-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] Add string benchmarking infrastructure and basic benchmarks #3523
[stdlib] Add string benchmarking infrastructure and basic benchmarks #3523
Conversation
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, nice work!
Did you intend to check in the HTML files? I think it suffices to just have the txt
files that get read in the benchmarks.
!sync |
Yeah my thoughts were that it is a more realistic payload for things like utf8 validation (that benchmark uses the htmls) and any other stuff we build later on with parsing (xml, json) and anything to do with sockets (if we wanna measure realistic throughput, latency, and resource utilization not a toy test with some 5 line json). I have no problem leaving them out and include when necessary, I just thought it's stuff that is often forgotten later on when trying to benchmark and that it would be better to set a strong baseline as default WDYT? |
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
@JoeLoser I think it's fixed (currently running another heavy load on my machine so can't run the benchmarks, but it compiles). It was just replacing usages of |
Signed-off-by: martinvuyk <martin.vuyklop@gmail.com>
@JoeLoser now they actually run, the |
!sync |
✅🟣 This contribution has been merged 🟣✅ Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the nightly branch during the next Mojo nightly release, typically within the next 24-48 hours. We use Copybara to merge external contributions, click here to learn more. |
…benchmarks (#49095) [External] [stdlib] Add string benchmarking infrastructure and basic benchmarks Add string benchmarking infrastructure and basic benchmarks. Added data for benchmarking collections. UN charter: Taken from the official [UN website](https://www.un.org/en/about-us/un-charter/full-text) with the language abbreviations following ISO 639-1 except simplified mandarin chinese (zh-CN) ORIGINAL_AUTHOR=martinvuyk <110240700+martinvuyk@users.noreply.github.com> PUBLIC_PR_LINK=#3523 Co-authored-by: martinvuyk <110240700+martinvuyk@users.noreply.github.com> Closes #3523 MODULAR_ORIG_COMMIT_REV_ID: d3b154bc993eccf4b80bb3773895bc28e1f41ee6
Landed in b75debe! Thank you for your contribution 🎉 |
Add string benchmarking infrastructure and basic benchmarks.
Added data for benchmarking collections
UN charter:
Taken from the official UN website with the language abbreviations following ISO 639-1 except simplified mandarin chinese (zh-CN)